package cn.com.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import cn.com.mapper.PAccountRoleMapper;
import cn.com.beans.PAccountRole;
import cn.com.service.PAccountRoleService;

@Service
public class PAccountRoleServiceImpl implements PAccountRoleService {

    @Resource
    private PAccountRoleMapper pAccountRoleMapper;

    @Override
    public int insert(PAccountRole record) {
        return pAccountRoleMapper.insert(record);
    }

    @Override
    public int insertSelective(PAccountRole record) {
        return pAccountRoleMapper.insertSelective(record);
    }

    @Override
    public int updateByAccountId(PAccountRole record) {
        return pAccountRoleMapper.updateByAccountId(record);
    }

}


